/*
 * foster-page-hero.css
 * ─────────────────────────────────────────────────────────
 * Drop this into your public/assets/css/ and link it in
 * layouts/app.blade.php AFTER your main stylesheet.
 *
 * Replace ALL instances of  class="bg-purple page-hero-section division"
 * with                       class="foster-page-hero-section division"
 * ─────────────────────────────────────────────────────────
 */

:root {
    --os-navy:      #1a2d6b;
    --os-navy-dark: #0f1b42;
    --os-mid:       #2e7bc4;
    --os-sky:       #5aace4;
}

/* ══ HERO SECTION ══════════════════════════════════════════ */
.foster-page-hero-section {
    background: linear-gradient(130deg, var(--os-navy-dark) 0%, var(--os-navy) 55%, var(--os-mid) 100%) !important;
    position: relative;
    overflow: hidden;
}

/* Subtle grid texture overlay */
.foster-page-hero-section::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.03) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
    z-index: 0;
}

/* Sky blue glow circle */
.foster-page-hero-section::after {
    content: '';
    position: absolute;
    top: -70px; right: -70px;
    width: 340px; height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(90,172,228,0.18) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

.foster-page-hero-section .container { position: relative; z-index: 1; }

/* ══ BREADCRUMB INSIDE HERO ════════════════════════════════ */
#breadcrumb.division {
    background: linear-gradient(130deg, var(--os-navy-dark) 0%, var(--os-navy) 55%, var(--os-mid) 100%) !important;
    padding: 22px 0 18px;
    position: relative;
    overflow: hidden;
}

#breadcrumb.division::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(255,255,255,0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255,255,255,0.025) 1px, transparent 1px);
    background-size: 52px 52px;
    pointer-events: none;
}

#breadcrumb.division .breadcrumb {
    background: transparent !important;
    padding: 0;
    margin: 0;
}

#breadcrumb.division .breadcrumb-item a {
    color: rgba(255,255,255,0.55) !important;
    font-size: 0.8rem;
    text-decoration: none;
    transition: color 0.2s;
}

#breadcrumb.division .breadcrumb-item a:hover {
    color: var(--os-sky) !important;
}

#breadcrumb.division .breadcrumb-item.active {
    color: var(--os-sky) !important;
    font-size: 0.8rem;
    font-weight: 600;
}

#breadcrumb.division .breadcrumb-item + .breadcrumb-item::before {
    content: '›' !important;
    color: rgba(255,255,255,0.3) !important;
}

/* ══ HERO TEXT ═════════════════════════════════════════════ */
.foster-page-hero-section .hero-txt h3,
.foster-page-hero-section .hero-txt p span {
    color: #fff;
}

.foster-page-hero-section .hero-txt p span {
    color: rgba(255,255,255,0.75);
    font-size: 0.95rem;
}